Motion.SetAxisEncoder method

Sets an encoder to use with an axis.

Namespace: IntervalZero.KINGSTAR.Local.Api

Assembly: IntervalZero.KINGSTAR.Local.Api (in IntervalZero.KINGSTAR.Local.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError SetAxisEncoder(
       int Index,
       McEncoder Encoder
)
Public Function SetAxisEncoder(
       Index As Integer,
       Encoder As McEncoder
) As KsError

Parameters

Index

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

 

Encoder

Type: McEncoder

Selects an encoder for the axis.

Return value

Type: KsError

A return code of a method.

Examples

C#
N/A

See also

Motion Class

IntervalZero.KINGSTAR.Local.Api Namespace